﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WJP.Domain
{
    /// <summary>
    /// 数据操作者
    /// </summary>
    public interface IManipulator<TPropertyType>
    {
        /// <summary>
        /// 创建者
        /// </summary>
        TPropertyType CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        DateTime CreateDate { get; set; }
        /// <summary>
        /// 修改者
        /// </summary>
        TPropertyType UpdateBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        DateTime UpdateDate { get; set; }
    }

    public interface IManipulator : IManipulator<int> { }
}
